﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Enterprise;
using Enterprise.Controls;
using Enterprise.Modules;

namespace Enterprise.ClientWeb
{
    public partial class _Default : PageBase
    {
        //Setup test
        //private Settings _module;
        //private Enterprise.Modules.HtmlContent _content;

        protected void Page_Load(object sender, EventArgs e)
        {
            //prnt.Text = Request["PageID"];
            //_module = Settings.GetInstance();

            //If a message "Successfully installed settings.", the install created a table Objects and inserted settings successfully.  
            //prnt.Text = _module.Title;

            //_content = new HtmlContent();
            //_content.Html = "This is a test to write to database with module data.";
            //_content.IsOnline = true;
            //_content.SaveData(); //Saves data to database


          
            //_content = (Enterprise.Modules.HtmlContent)ModuleLoader.GetInstance().LoadModule("2");
           
            //Response.Write("<br/>HtmlContent::<br/>" + _content.Html);

            //prnt.Text +="<br/>"+_content.GetType().FullName;
        }
    }
}
